//
//  NSObject+SaveModelToKeyedArchiver.h
//  MIX-Token
//
//  Created by zq-008 on 2022/4/29.
//  Copyright © 2023年 mix. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface NSObject (SaveModelToKeyedArchiver)

// 保存对象数据到本地
- (void)saveDataToLocalWithUniqueFlagKey:(NSString *)uniqueFlagKey;

// 清空本地存储的对象数据
- (id)getDataFromLocalWithUniqueFlagKey:(NSString *)uniqueFlagKey;

// 从本地获取对象数据
- (BOOL)removeDataFromLocalWithUniqueFlagKey:(NSString *)uniqueFlagKey;

@end
